// 最简代码，也就是这些字段必须有
export default {
    path: "/user",
    meta: {
      title: "我的内容"
    },
    children: [
      {
        path: "/user/info",
        name: "User",
        component: () => import("@/views/user/index.vue"),
        meta: {
          title: "我的信息",
          // 通过设置showParent为true，显示父级
          showParent: true
        }
      },
      {
        path: "/user/posts",
        name: "UserPosts",
        component: () => import("@/views/user/userPosts.vue"),
        meta: {
          title: "我的发帖记录",
          // 通过设置showParent为true，显示父级
          showParent: true
        }
      }
    ]
  };
  